import BigNumber from 'bignumber.js';

export default {
  add: (a: number, b: number) => new BigNumber(a).plus(b).toNumber(),
  sub: (a: number, b: number) => new BigNumber(a).minus(b).toNumber(),
  mul: (a: number, b: number) => new BigNumber(a).multipliedBy(b).toNumber(),
  div: (a: number, b: number) => new BigNumber(a).dividedBy(b).toNumber(),
};
